package com.wjjun.base.ui.state

import androidx.databinding.ObservableField
import com.wjjun.base.R

/**
 * 标题栏
 * author : wangjunjun
 * date   : 2022/6/8
 * desc   :
 */
class ToolBarState() {

    //标题
    val title = ObservableField<String>()

    //子标题
    val subTitle = ObservableField<String>()

    val leftIcon = ObservableField<Int>(R.drawable.ic_arrow_left_black)

    //右边textView的文本
    val rightText = ObservableField<String>()

    val isRightTextCheck = ObservableField(false)

    val isRightTextEnable = ObservableField(true)

    //右边第一个按钮的资源id
    val rightFirstBtnResId = ObservableField(0)

    //右边第二个按钮的资源id
    val rightSecondBtnResId = ObservableField(0)


}